Algebras for weighted search

نویسندگان

چکیده

Weighted search is an essential component of many fundamental and useful algorithms. Despite this, it relatively under explored as a computational effect, receiving not nearly much attention either depth- or breadth-first search. This paper explores the algebraic underpinning weighted search, demonstrates how to implement monad transformer. The development first which can be expressed polynomial over semirings. These polynomials are generalised free semimodule capture wide range applications, including probability monads, monads for Finally, transformer based on introduced. Applying optimisations this type yields implementation pairing heaps, then used Dijkstra's algorithm efficient probabilistic sampling. construction formalised in Cubical Agda implemented Haskell.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Weighted Convolution Measure Algebras Characterized by Convolution Algebras

The weighted semigroup algebra Mb (S, w) is studied via its identification with Mb (S) together with a weighted algebra product *w so that (Mb (S, w), *) is isometrically isomorphic to (Mb (S), *w). This identification enables us to study the relation between regularity and amenability of Mb (S, w) and Mb (S), and improve some old results from discrete to general case.

متن کامل

Algebras for Combinatorial Search

We show how combinatorial search strategies including depth-first, breadth-first and depth-bounded search can be viewed as different implementations of a common algebraic specification that emphasises the compositionality of the strategies. This specification is placed in a categorical setting that combines algebraic specifications and monads. This article appeared in Workshop on Mathematically...

متن کامل

Search Based Weighted Multi-Bit Flipping Algorithm for High-Performance Low-Complexity Decoding of LDPC Codes

In this paper, two new hybrid algorithms are proposed for decoding Low Density Parity Check (LDPC) codes. Original version of the proposed algorithms named Search Based Weighted Multi Bit Flipping (SWMBF). The main idea of these algorithms is flipping variable multi bits in each iteration, change in which leads to the syndrome vector with least hamming weight. To achieve this, the proposed algo...

متن کامل

weighted convolution measure algebras characterized by convolution algebras

the weighted semigroup algebra mb (s, w) is studied via its identification with mb (s) together with a weighted algebra product *w so that (mb (s, w), *) is isometrically isomorphic to (mb (s), *w). this identification enables us to study the relation between regularity and amenability of mb (s, w) and mb (s), and improve some old results from discrete to general case.

متن کامل

amenability of weighted measure algebras

let g be a locally compact group, and let ω be a weight on g. we show that the weightedmeasure algebra m(g,ω) is amenable if and only if g is a discrete, amenable group andsup{ω(g) ω(g−1) : g ∈ g} < ∞, where ω(g) ≥ 1 (g ∈ g) .

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2021

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3473577